package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmpVo {
    /**
     * id
     */
    private int id;
    /**
     * 唯一标识
     */
    private String uuid;
    /**
     * 曾用名
     */
    private String firstname;
    /**
     * 现用名
     */
    private String lastname;
    /**
     * 性别
     */
    private int gender;
    /**
     * 生日
     */
    //private Date birthday;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 邮箱
     */
    private String mail;
    /**
     * 员工状态
     * 1 离职
     * 2 在职
     * 3 休假
     * 4 请假
     * 5 退休
     */
    private int status;
    /**
     * 入职时间
     */
    // private  Date entryTime;
    /**
     * 离职时间
     */
    // private  Date departureTime;
    /**
     * 省份
     */
    // private  int province;
    /**
     * 城市
     */
    //  private int city;
    /**
     * 区县
     */
    //  private  int district;
    /**
     * 地址
     */
    //  private  String address;
    /**
     * 身份证号
     */
    private String idnumber;

    /**
     * lid
     */
    // private int lid;
    /**
     * 账号
     */
    private String account;
    /**
     * 密码
     */
    private String password;

    /**
     * did
     */
    private int did;

    public EmpVo(int id, String uuid, String firstname, String lastname,
                 int gender, String mobile, String mail, int status,
                 String idnumber, String account, String password, int did) {
        this.id = id;
        this.uuid = uuid;
        this.firstname = firstname;
        this.lastname = lastname;
        this.gender = gender;
        this.mobile = mobile;
        this.mail = mail;
        this.status = status;
        this.idnumber = idnumber;
        this.account = account;
        this.password = password;
        this.did = did;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }
}
